home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / elm / elm2.4 / hdrs / elmutil.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-10-03  |  1.9 KB  |  58 lines

  1.  
  2. /* $Id: elmutil.h,v 5.1 1992/10/03 22:34:39 syd Exp $ */
  3.  
  4. /*******************************************************************************
  5.  *  The Elm Mail System  -  $Revision: 5.1 $   $State: Exp $
  6.  *
  7.  *             Copyright (c) 1988-1992 USENET Community Trust
  8.  *             Copyright (c) 1986,1987 Dave Taylor
  9.  *******************************************************************************
  10.  * Bug reports, patches, comments, suggestions should be sent to:
  11.  *
  12.  *    Syd Weinstein, Elm Coordinator
  13.  *    elm@DSI.COM            dsinc!elm
  14.  *
  15.  *******************************************************************************
  16.  * $Log: elmutil.h,v $
  17.  * Revision 5.1  1992/10/03  22:34:39  syd
  18.  * Initial checkin as of 2.4 Release at PL0
  19.  *
  20.  *
  21.  ******************************************************************************/
  22.  
  23. /**  Main header file for ELM utilities.  **/
  24.  
  25.  
  26. #include <stdio.h>
  27. #include <fcntl.h>
  28. #include <errno.h>
  29. #include <signal.h>
  30.  
  31. #include "../hdrs/curses.h"
  32. #include "../hdrs/defs.h"
  33.  
  34. /******** static character string containing the version number  *******/
  35.  
  36. static char ident[] = { WHAT_STRING };
  37.  
  38. /******** and another string for the copyright notice            ********/
  39.  
  40. static char copyright[] = { 
  41.         "@(#)          (C) Copyright 1986,1987, Dave Taylor\n@(#)          (C) Copyright 1988-1992, The Usenet Community Trust\n" };
  42.  
  43. /******** global variables accessable by all pieces of the program *******/
  44.  
  45. char hostname[SLEN] = {0};      /* name of machine we're on*/
  46. char hostdomain[SLEN] = {0};    /* name of domain we're in */
  47. char hostfullname[SLEN] = {0};  /* name of FQDN we're in */
  48. char username[SLEN] = {0};      /* return address name!    */
  49. char full_username[SLEN] = {0}; /* Full username - gecos   */
  50. nl_catd elm_msg_cat = 0;    /* message catalog        */
  51. int userid;            /* uid for current user          */
  52. int groupid;            /* groupid for current user   */
  53.  
  54. struct addr_rec *alternative_addresses = NULL;    /* can't do it without elmrc */
  55.  
  56. extern char *gcos_name();
  57. extern char *get_full_name();
  58.